home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6390 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.cencom.net!ns!tanp
  2. From: tanp@ns (Bill Wendling)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: HELP - need C function to convert EBCDIC to ASCII
  5. Date: 21 Feb 1996 07:13:19 GMT
  6. Organization: Cen-Com Internet
  7. Message-ID: <4gegmf$k3f@news.cencom.net>
  8. References: <4gd8kc$p61@cloner2.ix.netcom.com>
  9. NNTP-Posting-Host: ns.cencom.net
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. mrspoon@ix.netcom.com inexplicably wrote:
  13. } Hope someone can help.  have to convert file received from IBM
  14. } mainframe.  Seems that Oracle can handle the packed date contained
  15. } therein, but nt the EBCDIC characters contained in the character
  16. } fileds.
  17.  
  18. I can't give you the source (That's copyrighted), but it involves having
  19. a table of EBCDIC-ASCII conversions and using that table to loop through
  20. and convert the line you are receiving.  It's not too difficult to program.
  21.  
  22. --
  23. Bill Wendling         | "Pinky, are you thinking what I'm thinking?"
  24. tanp@ns.cencom.net  | "I think so, Brain, but burlap chafes me so."
  25. "Boom Shanka"       | Finger me for my Geek Code...NOW!
  26.